package com.student.course.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Date;

@Entity
@Table(name = "course_setting")
public class CourseSetting implements Serializable {

    @Id
    private String id;

    private String course_id;

    private String dept_id;

    private String professional_id;

    private String teacher_id;

    private Float credit;

    private Float learning_time;

    private String select_limit;

    private String test_method;

    private Short selector_no_limit;

    private Date regdate;

    private Date updatedate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCourse_id() {
        return course_id;
    }

    public void setCourse_id(String course_id) {
        this.course_id = course_id;
    }

    public String getDept_id() {
        return dept_id;
    }

    public void setDept_id(String dept_id) {
        this.dept_id = dept_id;
    }

    public String getProfessional_id() {
        return professional_id;
    }

    public void setProfessional_id(String professional_id) {
        this.professional_id = professional_id;
    }

    public String getTeacher_id() {
        return teacher_id;
    }

    public void setTeacher_id(String teacher_id) {
        this.teacher_id = teacher_id;
    }

    public Float getCredit() {
        return credit;
    }

    public void setCredit(Float credit) {
        this.credit = credit;
    }

    public Float getLearning_time() {
        return learning_time;
    }

    public void setLearning_time(Float learning_time) {
        this.learning_time = learning_time;
    }

    public String getSelect_limit() {
        return select_limit;
    }

    public void setSelect_limit(String select_limit) {
        this.select_limit = select_limit;
    }

    public String getTest_method() {
        return test_method;
    }

    public void setTest_method(String test_method) {
        this.test_method = test_method;
    }

    public Short getSelector_no_limit() {
        return selector_no_limit;
    }

    public void setSelector_no_limit(Short selector_no_limit) {
        this.selector_no_limit = selector_no_limit;
    }

    public Date getRegdate() {
        return regdate;
    }

    public void setRegdate(Date regdate) {
        this.regdate = regdate;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    @Override
    public String toString() {
        return "CourseSetting{" +
                "id='" + id + '\'' +
                ", course_id='" + course_id + '\'' +
                ", dept_id='" + dept_id + '\'' +
                ", professional_id='" + professional_id + '\'' +
                ", teacher_id='" + teacher_id + '\'' +
                ", credit=" + credit +
                ", learning_time=" + learning_time +
                ", select_limit='" + select_limit + '\'' +
                ", test_method='" + test_method + '\'' +
                ", selector_no_limit=" + selector_no_limit +
                ", regdate=" + regdate +
                ", updatedate=" + updatedate +
                '}';
    }
}
